
HTML,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
blockquote,
pre,
form,
fieldset,
table,
th,
td {
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', '微软雅黑', '黑体', '宋体';
  // font-size: 16px;
  margin: 0px;
  padding: 0px;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: #F0F2F5 !important;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

a {
  text-decoration: none;
}

// a:link {
//   color: #fff;
// }

// a:visited {
//   color: #fff;
// }

// a:hover {
//   color: #fff;
// }

// a:active {
//   color: #fff;
// }
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

input::-ms-clear {
  display: none;
}

input::-ms-reveal {
  display: none;
}

input {
  -webkit-appearance: none;
  margin: 0;
  outline: none;
  padding: 0;
}

input::-webkit-input-placeholder {
  color: #ccc;
}

input::-ms-input-placeholder {
  color: #ccc;
}

input::-moz-placeholder {
  color: #ccc;
}

input[type='submit'],
input[type='button'] {
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

img {
  border: none;
}

ul,
ol,
li {
  list-style-type: none;
}

@color: #4a6eff;

/*公共方法*/
.clear {
  clear: both;
}

.clearleft {
  clear: left;
}

.clearright {
  clear: right;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

.cursor {
  cursor: pointer;
}

.btn {
  // color: @main-color;

  &:hover {
    // color: @main-color;
  }
}

.text-overflow {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

// antd表格滚动条样式
.ant-table-thead > tr > th {
  white-space: nowrap !important;
  background: #fafafa !important;
  color: #000000;
  border-bottom: 1px solid #e8e8e8;
}

&::-webkit-scrollbar {
  width: 5px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 5px;
}

&::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(144, 147, 153, 0.3);
}

&::-webkit-scrollbar-track {
  border-radius: 5px;
  background: transparent;
}

.view-content {
  padding: 24px;
  overflow-x: hidden;
  overflow-y: scroll;
  .content {
    padding: 24px;
    background: #ffffff;
  }

  .query-form {
    background: #ffffff;
    // padding: 24px 24px 1px 24px;
    // padding: 24px 32px 0 32px;
    margin-bottom: 24px;
    border-radius: 2px;

    .search-form {
      padding: 0 24px;
    }
  }

  .table-content {
    padding: 16px 24px 24px 24px;
    background: #ffffff;
    border-radius: 2px;

    .table-add-box {
      margin-bottom: 16px;
      text-align: right;
    }
    .table-top-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .ant-table-footer {
      background: #ffffff;
    }
  }
}
.table-top-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.table-top-title {
  font-size: 16px;
  font-weight: bold !important;
  color: rgba(0, 0, 0, 0.85);
}

.table-tool {
  text-align: right;
  margin-bottom: 16px;
}

.modal-tool-box {
  position: absolute;
  top: 0;
  right: -60px;

  .tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);

    .anticon {
      font-size: 18px;
      color: #ffffff;
    }
  }
}

.pdf-header {
  display: flex;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;

  .logo {
    font-size: 12px;
    flex-grow: 1;
  }

  .desc {
    font-size: 12px;
    // color: @text-color3;

    .shu {
      margin: 0 10px;
    }
  }
}



.vh100 {
  height: 100%;
}

&::-webkit-scrollbar {
  width: 5px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 5px;
}

&::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(144, 147, 153, 0.3);
}

&::-webkit-scrollbar-track {
  border-radius: 5px;
  background: transparent;
}

// 全局表格按钮样式控制
.space-btn--box {
  .ant-space-item {
    display: inline-flex;
    align-items: center;
    // a {
    // }
    &:before {
      content: '';
      display: inline-block;
      margin-right: 10px;
      height: 14px;
      width: 1px;
      background: #ccc;
    }

    &:first-child {
      &:before {
        display: none;
      }
      // a {
      //   &:before {
      //     display: none;
      //   }
      // }
    }
    .btn.not-allowed {
      color: @text-color3;
      cursor: not-allowed;
      pointer-events: none;
    }
  }

  .red-btn {
    // color: #ff7875;
  }
}